<style type="text/css">
<!--
.survay_name {font-size: 14px}
.start_link {font-size: 12px}
-->
</style>
<?php if(count($survey_list) > 0) { ?>
<table id="tests" width="60%" border="0" align="left"  cellspacing="0">
  <tr>
    <th width="50%"><h1>Test Name</h1></th>
    <th width="10%" align="center"><h1>Complete</h1></th>
  </tr>
  <?php foreach ($survey_list as $survey) { ?>
  <tr>
    <td><a href="<?=$survey['link']; ?>" class="survay_name"><?=$survey['name']; ?></a></td>
    <td align="center"><?php if($survey['done']) { ?><img src="catalog/view/theme/survey/image/success.png" width="16" height="16" /><? } else { ?><? } ?></td>
  </tr>
  <?php } ?>
</table>
<?php } else { ?>
<br /><br /><br />
<center><h1>Please login to proceed</h1></center>
<?php } ?>
<?php if(0) { ?>
<div id="survey<?php echo $module; ?>">
  <ul class="jcarousel-skin-opencart">
    <?php foreach ($surveys as $survey) { ?>
    <li><a href="<?php echo $survey['link']; ?>" title="<?php echo $survey['title']; ?>"><h3><?php echo $survey['title']; ?></h3></a></li>
    <?php } ?>
  </ul>
</div>
<script type="text/javascript"><!--
$('#survey<?php echo $module; ?> ul').jcarousel({
	vertical: false,
	visible: <?php echo $limit; ?>,
	scroll: <?php echo $scroll; ?>
});
//--></script>
<?php } ?>